﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="cnblogs_AddArticle.aspx.cs" Inherits="Hello_World.cnblogs_AddArticle" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">
    body
{
    font-size: 11pt;
    font-family: 宋体;
}
.mainTitle
{
    font-size: 12pt;
    font-weight: bold;
    font-family: 宋体;
}
.commonText
{
    font-size: 11pt;
    font-family: 宋体;
}
.littleMainTitle
{
    font-size: 10pt;
    font-weight: bold;
    font-family: 宋体;
}
.TopTitle
{
    border: 0px;
    font-size: 10pt;
    font-weight: bold;
    text-decoration: none;
    color: Black;
    display: inline-block;
    width: 100%;    
}
.SelectedTopTitle
{
    border: 0px;
    font-size: 10pt;
    text-decoration: none;
    color: Black;
    display: inline-block;
    width: 100%;
    background-color: White;
}
.ContentView
{
    border: 0px;
    padding: 3px 3px 3px 3px;
    background-color: White;
    display: inline-block;
    width: 390px;
}
.SepBorder
{
    border-top-width: 0px;
    border-left-width: 0px;
    font-size: 1px;
    border-bottom: Gray 1px solid;
    border-right-width: 0px;
}
.TopBorder
{
    border-right: Gray 1px solid;
    border-top: Gray 1px solid;
    background: #DCDCDC;
    border-left: Gray 1px solid;
    color: black;
    border-bottom: Gray 1px solid;
}
.ContentBorder
{
    border-right: Gray 1px solid;
    border-top: Gray 0px solid;
    border-left: Gray 1px solid;
    border-bottom: Gray 1px solid;
    height: 100%;
    width: 100%;
}
.SelectedTopBorder
{
    border-right: Gray 1px solid;
    border-top: Gray 1px solid;
    background: none transparent scroll repeat 0% 0%;
    border-left: Gray 1px solid;
    color: black;
    border-bottom: Gray 0px solid;
}</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <fieldset style="width: 400px">
                <legend class="mainTitle">MultiView和View控件典型应用</legend>
                <br />
                <table id="Table1" cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td>
                            <table id="TopTable" runat="server" cellspacing="0" cellpadding="0" width="100%"
                                border="0">
                                <tr style="height: 22px">
                                    <td class="SelectedTopBorder" id="Cell1" align="center" width="60">
                                        <asp:LinkButton ID="LBView1" runat="server" CssClass="TopTitle" OnClick="LBView1_Click">csdn</asp:LinkButton>
                                    </td>
                                    <td class="SepBorder" width="2px">
                                        &nbsp;</td>
                                    <td class="TopBorder" id="Cell2" align="center" width="60">
                                        <asp:LinkButton ID="LBView2" runat="server" CssClass="TopTitle" OnClick="LBView2_Click">cnblog</asp:LinkButton>
                                    </td>
                                    <td class="SepBorder" width="2px">
                                        &nbsp;</td>
                                    <td class="TopBorder" id="Cell3" align="center" width="60">
                                        <asp:LinkButton ID="LBView3" runat="server" CssClass="TopTitle" OnClick="LBView3_Click">51cto</asp:LinkButton>
                                    </td>
                                    <td class="SepBorder">
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table class="ContentBorder" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td valign="top">
                                        <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
    <asp:View ID="View1" runat="server" >
    <table><tr><td> <asp:Label ID="Label1" runat="server" Text="oneurl："></asp:Label> </td>
      <td><asp:TextBox ID="txtoneurl" runat="server"></asp:TextBox></td><td>
      <asp:Button ID="BtnOne" runat="server" Text="Collection" 
          onclick="BtnOne_Click" /></td></tr>
  <tr><td><asp:Label ID="Label2" runat="server" Text="listurl："></asp:Label></td>
  <td><asp:TextBox ID="txtListurl" runat="server"></asp:TextBox></td>
  <td><asp:Button ID="btnAddcsdnlist" runat="server" Text="Collection" 
        onclick="btnAddcsdnlist_Click" /></td></tr></table> 
    </asp:View>
   <asp:View ID="View2" runat="server">
                                                <img src="images/tab2.jpg" />
                                            </asp:View>
                                                <asp:View ID="View3" runat="server" >
    <table><tr><td> <asp:Label ID="Label3" runat="server" Text="oneurl："></asp:Label> </td>
      <td><asp:TextBox ID="txt51ctooneurl" runat="server"></asp:TextBox></td><td>
      <asp:Button ID="Btn51ctoOne" runat="server" Text="Collection" 
          onclick="Btn51ctoOne_Click" /></td></tr>
  <tr><td><asp:Label ID="Label4" runat="server" Text="listurl："></asp:Label></td>
  <td><asp:TextBox ID="txt51ctolisturl" runat="server"></asp:TextBox></td>
  <td><asp:Button ID="btnAdd51ctoAdd" runat="server" Text="Collection" 
        onclick="btnAdd51ctoAdd_Click" /></td></tr></table> 
    </asp:View>
    </asp:MultiView>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </fieldset>

</asp:Content>
